/**
 * Create by richliu1023
 * @date 2016-07-01
 * @email richliu1023@gmail.com
 * @github https://github.com/RichLiu1023
 * @description tips layer ,not can add child more,only add child one!
 */
class UITipsLayer extends egret.DisplayObjectContainer {

	public isJump:boolean = false;

	public constructor() {
		super();
	}

	addChild( child:egret.DisplayObject ):egret.DisplayObject {
		this.removeChildren();
		this.isJump = true;
		return super.addChild( child );
	}

	removeChildren():void {
		this.isJump = false;
		super.removeChildren();
	}
}